package com.smart.upms.sys.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 动态路由配置
 * </p>
 *
 * @author guxiaobai
 * @since 2018-12-11
 */
@Data
public class SysZuulRouteParam implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * router Id
     */
    @ApiModelProperty(value = "router Id")
    private Long id;
    /**
     * 路由路径
     */
    @ApiModelProperty(value = "路由路径")
    private String path;
    /**
     * 服务名称
     */
    @ApiModelProperty(value = "服务名称")
    private String serviceId;
    /**
     * url代理
     */
    @ApiModelProperty(value = "url代理")
    private String url;
    /**
     * 转发去掉前缀
     */
    @ApiModelProperty(value = "转发去掉前缀")
    private Boolean stripPrefix;
    /**
     * 是否重试
     */
    @ApiModelProperty(value = "是否重试")
    private Boolean retryAble;
    /**
     * 是否启用
     */
    @ApiModelProperty(value = "是否启用")
    private Boolean enable;
    /**
     * 敏感请求头
     */
    @ApiModelProperty(value = "敏感请求头")
    private String sensitiveHeadersList;

}
